﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EmezenWarchief.Enums;

namespace EmezenWarchief
{
    public class ReturnCalculator
    {

        public static int calculateReturn(int countOfCities, Research research)
        {
            switch (research)
            {
                case Research.írás : {
                    return Constants.COURTHOUSE_PRICE / 5 / countOfCities;
                }
                case Research.bíróság:
                    {
                        return Constants.WRITING_PRICE / 5 / countOfCities;
                    }

                default: return int.MaxValue;
            }

        }


    }
}
